<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>文件上传下载</title>
</head>
<body>
	<h2>文件上传页面</h2>
	<!-- 上传文件必须以Post方式提交  multipart/form-data 一定要加这个属性 -->
	<form action="doUpFile2.action" method="post" enctype="multipart/form-data">
		<table>
			<tr>
				<td>文件名称</td><td><input type="text" name="fileName" /></td>
			</tr>
			<tr>
				<td>文件描述</td><td><textarea rows="6" cols="21" name="fileDesc"></textarea></td>
			</tr>
			<tr>
				<td>上传附件</td><td><input type="file" name="picFile" /></td>
			</tr>
			<tr>
				<td colspan="2">
					<input type="submit" name="上传文件" />
					<input type="reset" name="重置数据" />
				</td>
			</tr>
		</table>
		
	</form>
</body>
</html>